<template>
	<web-view :src="info"></web-view>
</template>
<script>
	export default{
		data(){
			return{
				info:''
			}
		},
		onLoad() {
			this.loachend()
		},
		methods:{
		loachend(){
			var pages = getCurrentPages();   //获取加载的页面
			var currentPage = pages[pages.length - 1];  //获取当前页面的对象
			this.info = currentPage.options.link //当前页面url的参数
		}
		}
	}
</script>
